﻿using Furion.Extras.Admin.NET;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace Admin.NET.Application.Entity
{
    [Comment("Project")]
    public class Project: DEntityBase
    {
        [Comment("Project ID")]
        [Required]
        public Guid ProjectId { get; set; }

        [Comment("Project Name")]
        [Required, MaxLength(100)]
        public string ProjectName { get; set; }

        [Comment("Project Category")]
        [MaxLength(50)]
        public string ProjectCategory { get; set; }

        [Comment("Project Description")]
        [MaxLength(1000)]
        public string ProjectDescription { get; set; }

        [Comment("Start Date")]
        public DateTime? StartDate { get; set; }

        [Comment("End Date")]
        public DateTime? EndDate { get; set; }

        [Comment("Region")]
        public string Region { get; set; }

        [Comment("Currency")]
        public string Currency { get; set; }

        [Comment("Budget")]
        public decimal? Budget { get; set; }

        [Comment("Project Owner")]
        public SysUser ProjectOwner { get; set; }

        [Comment("Project Resp.")]
        public SysUser ProjectResp { get; set; }
        [Comment("Status")]
        public string Status { get; set; }

    }
}
